
Ext.define('Avrio.view.MainPanel', {
    extend: 'Ext.tab.Panel',

    alias: 'widget.mainpanel',

    activeTab: 0,
    frame:true,

    initComponent: function() {
        var me = this;

        Ext.applyIf(me, {
            items: [
                {
                    xtype: 'panel',
                    title: 'Session',
                    items: [{ xtype: 'session' }]
                }, {
                    xtype: 'panel',
                    title: 'Device Type',
                    disabled: true,
                    items: [{ xtype: 'device_type' }]
                }, {
                    xtype: 'panel',
                    title: 'Device Session',
                    disabled: true,
                    items: [{ xtype: 'device_session' }]
                }, {
                    xtype: 'panel',
                    title: 'Person',
                    disabled: true,
                    items: [{ xtype: 'person' }]
                }, {
                    xtype: 'panel',
                    title: 'Patient',
                    disabled: true
                    //items: [{ xtype: 'patient' }]
                }
                ]
        });
        me.callParent(arguments);
    }
});
